package com.hskn.hss.module.tltreespec.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.core.domain.BaseEntity;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.tltreespec.entity.TlTreespec;
import com.hskn.hss.utils.DataMap;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-14
 */
public interface ITlTreespecService extends IService<TlTreespec> {
    AjaxResult insert(TlTreespec tlTreespec) throws HssException;

    AjaxResult update(TlTreespec tlTreespec) throws HssException;

    List<DataMap> treespecTree();

    AjaxResult deletebyid(JSONObject params) throws HssException;

    JSONObject getList(BaseEntity entity, JSONObject params) throws HssException;

    TlTreespec getDetail(JSONObject params) throws HssException;

    List getSelectList();
}
